package G;

public class Test {
    public void fling(Fly fly){
        fly.fly();
    }

    public static void main(String[] args) {
        Test test = new Test();
        SuperMan superMan = new SuperMan();
        Bird bird = new Bird();
        Plane plane = new Plane();
        test.fling(superMan);
        test.fling(bird);
        test.fling(plane);
    }
}
